package circus;

import oscP5.OscMessage;
import processing.core.PApplet;
import circus.OscCloud;

public class OscCloudEx extends OscCloud{
	public OscCloudEx(PApplet p, String m, String iIP, int iPort, String pIP, int pPort){
		super(p, m, iIP, iPort, pIP, pPort);
	}
	public OscCloudEx(PApplet p, String m, String iIP, int iPort){
		super(p,m,iIP,iPort);
	}
	public void sendMsg(String msg)
	{
		if(super.running){
			OscMessage message = new OscMessage("/msg");
			message.add(msg);
			super.oscP5.send(message, myNetAddressList);
		}
	}
}
